SimpleResponse class

Basic response model used by the CallKit API.

Annotations
  • @JsonSerializable.new()

Constructors

SimpleResponse({required int code, String? msg, int? data1, int? data2, String? data3})
SimpleResponse.fromJson(Map<String, dynamic> json)
factory

Properties

code int
final
data1 int?
final
data2 int?
final
data3 String?
final
hashCode int
The hash code for this object.
no setterinherited
msg String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited