Source.fromJson constructor

Source.fromJson(
  1. Map json_
)

Implementation

Source.fromJson(core.Map json_)
    : this(
        canonicalName: json_.containsKey('canonicalName')
            ? json_['canonicalName'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );