ChapInfo.fromJson constructor

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

Implementation

factory ChapInfo.fromJson(Map<String, dynamic> json) {
  return ChapInfo(
    initiatorName: json['InitiatorName'] as String?,
    secretToAuthenticateInitiator:
        json['SecretToAuthenticateInitiator'] as String?,
    secretToAuthenticateTarget: json['SecretToAuthenticateTarget'] as String?,
    targetARN: json['TargetARN'] as String?,
  );
}