PutCodeBindingResponse.fromJson constructor

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

Implementation

factory PutCodeBindingResponse.fromJson(Map<String, dynamic> json) {
  return PutCodeBindingResponse(
    creationDate: timeStampFromJson(json['CreationDate']),
    lastModified: timeStampFromJson(json['LastModified']),
    schemaVersion: json['SchemaVersion'] as String?,
    status: (json['Status'] as String?)?.toCodeGenerationStatus(),
  );
}