SecurityMarks.fromJson constructor

SecurityMarks.fromJson(
  1. Map json_
)

Implementation

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