ConfigurationRecorder.fromJson constructor

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

Implementation

factory ConfigurationRecorder.fromJson(Map<String, dynamic> json) {
  return ConfigurationRecorder(
    name: json['name'] as String?,
    recordingGroup: json['recordingGroup'] != null
        ? RecordingGroup.fromJson(
            json['recordingGroup'] as Map<String, dynamic>)
        : null,
    roleARN: json['roleARN'] as String?,
  );
}