toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final baseImage = this.baseImage;
  final enableAutomaticUpdates = this.enableAutomaticUpdates;
  final environmentVariables = this.environmentVariables;
  final functionTarget = this.functionTarget;
  final imageUri = this.imageUri;
  final name = this.name;
  final serviceAccount = this.serviceAccount;
  final sourceLocation = this.sourceLocation;
  final workerPool = this.workerPool;
  return {
    'baseImage': ?baseImage,
    'enableAutomaticUpdates': ?enableAutomaticUpdates,
    'environmentVariables': ?environmentVariables,
    'functionTarget': ?functionTarget,
    'imageUri': ?imageUri,
    'name': ?name,
    'serviceAccount': ?serviceAccount,
    'sourceLocation': ?sourceLocation,
    'workerPool': ?workerPool,
  };
}