toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (apiProducts != null) 'apiProducts': apiProducts!,
      if (attributes != null) 'attributes': attributes!,
      if (consumerKey != null) 'consumerKey': consumerKey!,
      if (consumerSecret != null) 'consumerSecret': consumerSecret!,
      if (expiresAt != null) 'expiresAt': expiresAt!,
      if (issuedAt != null) 'issuedAt': issuedAt!,
      if (scopes != null) 'scopes': scopes!,
      if (status != null) 'status': status!,
    };