EnrollDataSourcesRequest.fromJson constructor Null safety

EnrollDataSourcesRequest.fromJson(
  1. Map _json
)

Implementation

EnrollDataSourcesRequest.fromJson(core.Map _json)
    : this(
        dataSourceIds: _json.containsKey('dataSourceIds')
            ? (_json['dataSourceIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );