SmartTap.fromJson constructor

SmartTap.fromJson(
  1. Map json_
)

Implementation

SmartTap.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        infos: json_.containsKey('infos')
            ? (json_['infos'] as core.List)
                .map((value) => IssuerToUserInfo.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        merchantId: json_.containsKey('merchantId')
            ? json_['merchantId'] as core.String
            : null,
      );