static TestBytes? fromJson(Map<String, dynamic>? json) { if (json == null) { return null; } return TestBytes( value: (json['value'] as String?) ?? '', ); }