ProfileSummary.fromJson constructor

ProfileSummary.fromJson(
  1. Map json_
)

Implementation

ProfileSummary.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        starred: json_.containsKey('starred')
            ? json_['starred'] as core.bool
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );