toJson method

Map<String, String?> toJson()
inherited

Implementation

Map<String, String?> toJson() => {
      'type': type,
      'code': code,
      'message': message,
    };