Destination.fromJson constructor

Destination.fromJson(
  1. Map json_
)

Implementation

Destination.fromJson(core.Map json_)
  : this(
      linkedAccount: json_.containsKey('linkedAccount')
          ? ProductAccount.fromJson(
              json_['linkedAccount'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      loginAccount: json_.containsKey('loginAccount')
          ? ProductAccount.fromJson(
              json_['loginAccount'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      operatingAccount: json_.containsKey('operatingAccount')
          ? ProductAccount.fromJson(
              json_['operatingAccount']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      productDestinationId: json_['productDestinationId'] as core.String?,
      reference: json_['reference'] as core.String?,
    );