OperationSummary.fromJson constructor

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

Implementation

factory OperationSummary.fromJson(Map<String, dynamic> json) {
  return OperationSummary(
    operationId: json['OperationId'] as String,
    status: (json['Status'] as String).toOperationStatus(),
    submittedDate:
        nonNullableTimeStampFromJson(json['SubmittedDate'] as Object),
    type: (json['Type'] as String).toOperationType(),
  );
}