toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (companies != null) 'companies': companies!,
      if (metadata != null) 'metadata': metadata!,
      if (nextPageToken != null) 'nextPageToken': nextPageToken!,
    };