MeshStatus.fromJson constructor

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

Implementation

factory MeshStatus.fromJson(Map<String, dynamic> json) {
  return MeshStatus(
    status: (json['status'] as String?)?.toMeshStatusCode(),
  );
}