ProjectListProjects.fromJson constructor

ProjectListProjects.fromJson(
  1. Map json_
)

Implementation

ProjectListProjects.fromJson(core.Map json_)
    : this(
        friendlyName: json_.containsKey('friendlyName')
            ? json_['friendlyName'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        numericId: json_.containsKey('numericId')
            ? json_['numericId'] as core.String
            : null,
        projectReference: json_.containsKey('projectReference')
            ? ProjectReference.fromJson(json_['projectReference']
                as core.Map<core.String, core.dynamic>)
            : null,
      );