$Lien.fromJson constructor

$Lien.fromJson(
  1. Map json_
)

Implementation

$Lien.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        origin: json_.containsKey('origin')
            ? json_['origin'] as core.String
            : null,
        parent: json_.containsKey('parent')
            ? json_['parent'] as core.String
            : null,
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
        restrictions: json_.containsKey('restrictions')
            ? (json_['restrictions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );