formatTemplateNumber abstract method

String? formatTemplateNumber(
  1. double value,
  2. String spec
)

Formats value with a printf-style spec exactly like the runtime's string template converter. Null when the native library predates it.

Implementation

String? formatTemplateNumber(double value, String spec);