GetNoteIamPolicyResult.fromMap constructor
GetNoteIamPolicyResult.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetNoteIamPolicyResult.fromMap(Map<String, dynamic> map) {
return GetNoteIamPolicyResult(
etag: (() { final guardedValue = map['etag']; if (guardedValue == null) return null; return guardedValue as String; })(),
id: (() { final guardedValue = map['id']; if (guardedValue == null) return null; return guardedValue as String; })(),
note: (() { final guardedValue = map['note']; if (guardedValue == null) return null; return guardedValue as String; })(),
policyData: (() { final guardedValue = map['policyData']; if (guardedValue == null) return null; return guardedValue as String; })(),
project: (() { final guardedValue = map['project']; if (guardedValue == null) return null; return guardedValue as String; })(),
);
}