toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final creationTimeAfter = this.creationTimeAfter;
  final creationTimeBefore = this.creationTimeBefore;
  final modelArn = this.modelArn;
  final status = this.status;
  return {
    if (creationTimeAfter != null)
      'CreationTimeAfter': unixTimestampToJson(creationTimeAfter),
    if (creationTimeBefore != null)
      'CreationTimeBefore': unixTimestampToJson(creationTimeBefore),
    if (modelArn != null) 'ModelArn': modelArn,
    if (status != null) 'Status': status.toValue(),
  };
}