IdentityInfo.fromJson constructor

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

Implementation

factory IdentityInfo.fromJson(Map<String, dynamic> json) {
  return IdentityInfo(
    identityName: json['IdentityName'] as String?,
    identityType: (json['IdentityType'] as String?)?.toIdentityType(),
    sendingEnabled: json['SendingEnabled'] as bool?,
  );
}