toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'app': app,
    'device': device,
    'environment': environment,
    'group': group,
    'groups': groups,
    'id': id,
    'policycode': policycode,
    'refs': refs?.map((e) => e.toJson()).toList(),
    'tenant': tenant,
    'user': user,
  };
}