CustomMetadata.fromJson constructor

CustomMetadata.fromJson(
  1. Map json_
)

Implementation

CustomMetadata.fromJson(core.Map json_)
    : this(
        values: json_.containsKey('values')
            ? (json_['values'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
      );