SerDeInfo.fromJson constructor

SerDeInfo.fromJson(
  1. Map json_
)

Implementation

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