toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final configUri = this.configUri;
  final imageUri = this.imageUri;
  final environment = this.environment;
  return {
    'ConfigUri': configUri,
    'ImageUri': imageUri,
    if (environment != null) 'Environment': environment,
  };
}