StatusReferenceAndPort.fromJson constructor

StatusReferenceAndPort.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory StatusReferenceAndPort.fromJson(Map<String, Object?> json) {
  return StatusReferenceAndPort(
    port: (json[r'port'] as num?)?.toInt(),
    statusReference: json[r'statusReference'] as String? ?? '',
  );
}