toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final attachedManagedPolicies = this.attachedManagedPolicies;
  final createDate = this.createDate;
  final groupId = this.groupId;
  final groupName = this.groupName;
  final groupPolicyList = this.groupPolicyList;
  final path = this.path;
  return {
    if (attachedManagedPolicies != null)
      'AttachedManagedPolicies': attachedManagedPolicies,
    if (createDate != null) 'CreateDate': createDate,
    if (groupId != null) 'GroupId': groupId,
    if (groupName != null) 'GroupName': groupName,
    if (groupPolicyList != null) 'GroupPolicyList': groupPolicyList,
    if (path != null) 'Path': path,
  };
}