$Subject.fromJson constructor

$Subject.fromJson(
  1. Map json_
)

Implementation

$Subject.fromJson(core.Map json_)
    : this(
        digest: json_.containsKey('digest')
            ? (json_['digest'] 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,
      );