EntityDdl.fromJson constructor

EntityDdl.fromJson(
  1. Map json_
)

Implementation

EntityDdl.fromJson(core.Map json_)
    : this(
        ddl: json_.containsKey('ddl') ? json_['ddl'] as core.String : null,
        ddlType: json_.containsKey('ddlType')
            ? json_['ddlType'] as core.String
            : null,
        entity: json_.containsKey('entity')
            ? json_['entity'] as core.String
            : null,
        entityType: json_.containsKey('entityType')
            ? json_['entityType'] as core.String
            : null,
        issueId: json_.containsKey('issueId')
            ? (json_['issueId'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );