Account.fromJson constructor

Account.fromJson(
  1. Map json_
)

Implementation

Account.fromJson(core.Map json_)
  : this(
      accountType: json_['accountType'] as core.String?,
      automaticLabelIds:
          (json_['automaticLabelIds'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
      displayName: json_['displayName'] as core.String?,
      fullName: json_['fullName'] as core.String?,
      homepageUri: json_['homepageUri'] as core.String?,
      labelIds:
          (json_['labelIds'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
      name: json_['name'] as core.String?,
      parent: json_['parent'] as core.String?,
    );