fromJson static method

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

Implementation

static TestBytes? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return TestBytes(value: (json['value'] as String?) ?? '');
}