toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (customer != null) 'customer': customer!,
      if (name != null) 'name': name!,
      if (orgUnitId != null) 'orgUnitId': orgUnitId!,
      if (userDevice != null) 'userDevice': userDevice!,
      if (userEmail != null) 'userEmail': userEmail!,
      if (userId != null) 'userId': userId!,
    };