MigrationSource.fromJson constructor

MigrationSource.fromJson(
  1. Map json_
)

Implementation

MigrationSource.fromJson(core.Map json_)
    : this(
        hostPort: json_.containsKey('hostPort')
            ? json_['hostPort'] as core.String
            : null,
        referenceId: json_.containsKey('referenceId')
            ? json_['referenceId'] as core.String
            : null,
        sourceType: json_.containsKey('sourceType')
            ? json_['sourceType'] as core.String
            : null,
      );