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