stringify method

  1. @override
String stringify(
  1. M value,
  2. MappingContext context
)
override

The mapping method to get the string representation of value.

Implementation

@override
String stringify(M value, MappingContext context) =>
    '{${value.entries.map((e) => '${context.container.asString(e.key)}: '
        '${context.container.asString(e.value)}').join(', ')}}';