AccountLabel.fromJson constructor

AccountLabel.fromJson(
  1. Map json_
)

Implementation

AccountLabel.fromJson(core.Map json_)
    : this(
        accountId: json_.containsKey('accountId')
            ? json_['accountId'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        labelId: json_.containsKey('labelId')
            ? json_['labelId'] as core.String
            : null,
        labelType: json_.containsKey('labelType')
            ? json_['labelType'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );