ListApplicationRevisionsOutput.fromJson constructor

ListApplicationRevisionsOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListApplicationRevisionsOutput.fromJson(Map<String, dynamic> json) {
  return ListApplicationRevisionsOutput(
    nextToken: json['nextToken'] as String?,
    revisions: (json['revisions'] as List?)
        ?.whereNotNull()
        .map((e) => RevisionLocation.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}