RuntimeMigrationEligibility.fromJson constructor

RuntimeMigrationEligibility.fromJson(
  1. Map json_
)

Implementation

RuntimeMigrationEligibility.fromJson(core.Map json_)
    : this(
        errors: json_.containsKey('errors')
            ? (json_['errors'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        warnings: json_.containsKey('warnings')
            ? (json_['warnings'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );