ExperimentSummary.fromJson constructor

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

Implementation

factory ExperimentSummary.fromJson(Map<String, dynamic> json) {
  return ExperimentSummary(
    creationTime: timeStampFromJson(json['CreationTime']),
    displayName: json['DisplayName'] as String?,
    experimentArn: json['ExperimentArn'] as String?,
    experimentName: json['ExperimentName'] as String?,
    experimentSource: json['ExperimentSource'] != null
        ? ExperimentSource.fromJson(
            json['ExperimentSource'] as Map<String, dynamic>)
        : null,
    lastModifiedTime: timeStampFromJson(json['LastModifiedTime']),
  );
}