canvasContextTypeToString function
Returns the native context-type string (e.g. '2d') for the given enum.
Implementation
String canvasContextTypeToString(CanvasContextType type) =>
_contextTypeStrings[type]!;
Returns the native context-type string (e.g. '2d') for the given enum.
String canvasContextTypeToString(CanvasContextType type) =>
_contextTypeStrings[type]!;