Model.fromJson constructor

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

Implementation

factory Model.fromJson(Map<String, dynamic> json) {
  return Model(
    arn: json['arn'] as String?,
    createdTime: json['createdTime'] as String?,
    description: json['description'] as String?,
    eventTypeName: json['eventTypeName'] as String?,
    lastUpdatedTime: json['lastUpdatedTime'] as String?,
    modelId: json['modelId'] as String?,
    modelType: (json['modelType'] as String?)?.toModelTypeEnum(),
  );
}