MappingRule.fromJson constructor
MappingRule.fromJson(
- Map json_
Implementation
MappingRule.fromJson(core.Map json_)
: this(
conditionalColumnSetValue:
json_.containsKey('conditionalColumnSetValue')
? ConditionalColumnSetValue.fromJson(
json_['conditionalColumnSetValue']
as core.Map<core.String, core.dynamic>,
)
: null,
convertRowidColumn:
json_.containsKey('convertRowidColumn')
? ConvertRowIdToColumn.fromJson(
json_['convertRowidColumn']
as core.Map<core.String, core.dynamic>,
)
: null,
displayName: json_['displayName'] as core.String?,
entityMove:
json_.containsKey('entityMove')
? EntityMove.fromJson(
json_['entityMove'] as core.Map<core.String, core.dynamic>,
)
: null,
filter:
json_.containsKey('filter')
? MappingRuleFilter.fromJson(
json_['filter'] as core.Map<core.String, core.dynamic>,
)
: null,
filterTableColumns:
json_.containsKey('filterTableColumns')
? FilterTableColumns.fromJson(
json_['filterTableColumns']
as core.Map<core.String, core.dynamic>,
)
: null,
multiColumnDataTypeChange:
json_.containsKey('multiColumnDataTypeChange')
? MultiColumnDatatypeChange.fromJson(
json_['multiColumnDataTypeChange']
as core.Map<core.String, core.dynamic>,
)
: null,
multiEntityRename:
json_.containsKey('multiEntityRename')
? MultiEntityRename.fromJson(
json_['multiEntityRename']
as core.Map<core.String, core.dynamic>,
)
: null,
name: json_['name'] as core.String?,
revisionCreateTime: json_['revisionCreateTime'] as core.String?,
revisionId: json_['revisionId'] as core.String?,
ruleOrder: json_['ruleOrder'] as core.String?,
ruleScope: json_['ruleScope'] as core.String?,
setTablePrimaryKey:
json_.containsKey('setTablePrimaryKey')
? SetTablePrimaryKey.fromJson(
json_['setTablePrimaryKey']
as core.Map<core.String, core.dynamic>,
)
: null,
singleColumnChange:
json_.containsKey('singleColumnChange')
? SingleColumnChange.fromJson(
json_['singleColumnChange']
as core.Map<core.String, core.dynamic>,
)
: null,
singleEntityRename:
json_.containsKey('singleEntityRename')
? SingleEntityRename.fromJson(
json_['singleEntityRename']
as core.Map<core.String, core.dynamic>,
)
: null,
singlePackageChange:
json_.containsKey('singlePackageChange')
? SinglePackageChange.fromJson(
json_['singlePackageChange']
as core.Map<core.String, core.dynamic>,
)
: null,
sourceSqlChange:
json_.containsKey('sourceSqlChange')
? SourceSqlChange.fromJson(
json_['sourceSqlChange']
as core.Map<core.String, core.dynamic>,
)
: null,
state: json_['state'] as core.String?,
);