fromJson method

Implementation

@override
URegisterPushPlatform fromJson(String json) {
  final knownValue = KnownRegisterPushPlatform.valueOf(json);

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