DeviceDeregistrationError.fromJson constructor

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

Implementation

factory DeviceDeregistrationError.fromJson(Map<String, dynamic> json) =>
    DeviceDeregistrationError(
      deviceId: (json["deviceId"] as int),
      errorMessage: json["errorMessage"] as String,
    );