SendUsersMessageResponse.fromJson constructor

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

Implementation

factory SendUsersMessageResponse.fromJson(Map<String, dynamic> json) {
  return SendUsersMessageResponse(
    applicationId: json['ApplicationId'] as String,
    requestId: json['RequestId'] as String?,
    result: (json['Result'] as Map<String, dynamic>?)?.map((k, e) => MapEntry(
        k,
        (e as Map<String, dynamic>).map((k, e) => MapEntry(
            k, EndpointMessageResult.fromJson(e as Map<String, dynamic>))))),
  );
}