fromJson static method

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

Implementation

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

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