SMS.fromNative constructor

SMS.fromNative(
  1. Map data
)

Create a SMS from native data.

Implementation

SMS.fromNative(Map data)
    : message = data['message'] as String?,
      phoneNumber = data['phoneNumber'] as String?;