Setting.fromJson constructor

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

Implementation

factory Setting.fromJson(Map<String, dynamic> json) {
  return Setting(
    name: (json['name'] as String?)?.toSettingName(),
    principalArn: json['principalArn'] as String?,
    value: json['value'] as String?,
  );
}