StatusReason.fromJson constructor

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

Implementation

factory StatusReason.fromJson(Map<String, dynamic> json) {
  return StatusReason(
    code: (json['code'] as String).toReasonCode(),
  );
}