SMS.fromNative constructor
Construct a new SMS instance from the given data
.
Implementation
factory SMS.fromNative(Map<Object?, Object?> data) {
return SMS(
message: data['message'] as String?,
phoneNumber: data['phoneNumber'] as String? ?? '',
);
}