fromJson method

  1. @override
UUpdateMemberRole fromJson(
  1. String json
)

Implementation

@override
UUpdateMemberRole fromJson(String json) {
  final knownValue = KnownUpdateMemberRole.valueOf(json);

  return knownValue != null
      ? UUpdateMemberRole.knownValue(data: knownValue)
      : UUpdateMemberRole.unknownValue(data: json);
}