S3MachineLearningModelResourceData.fromJson constructor

S3MachineLearningModelResourceData.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory S3MachineLearningModelResourceData.fromJson(
    Map<String, dynamic> json) {
  return S3MachineLearningModelResourceData(
    destinationPath: json['DestinationPath'] as String?,
    ownerSetting: json['OwnerSetting'] != null
        ? ResourceDownloadOwnerSetting.fromJson(
            json['OwnerSetting'] as Map<String, dynamic>)
        : null,
    s3Uri: json['S3Uri'] as String?,
  );
}