UsageBillingPlan.fromMap constructor
UsageBillingPlan.fromMap(
- Map<String, dynamic> map
)
Implementation
factory UsageBillingPlan.fromMap(
Map<String, dynamic> map,
) {
return UsageBillingPlan(
bandwidth: map['bandwidth'] != null
? AdditionalResource.fromMap(
map['bandwidth'],
)
: null,
executions: map['executions'] != null
? AdditionalResource.fromMap(
map['executions'],
)
: null,
member: map['member'] != null
? AdditionalResource.fromMap(
map['member'],
)
: null,
realtime: map['realtime'] != null
? AdditionalResource.fromMap(
map['realtime'],
)
: null,
realtimeMessages: map['realtimeMessages'] != null
? AdditionalResource.fromMap(
map['realtimeMessages'],
)
: null,
realtimeBandwidth: map['realtimeBandwidth'] != null
? AdditionalResource.fromMap(
map['realtimeBandwidth'],
)
: null,
storage: map['storage'] != null
? AdditionalResource.fromMap(
map['storage'],
)
: null,
users: map['users'] != null
? AdditionalResource.fromMap(
map['users'],
)
: null,
GBHours: map['GBHours'] != null
? AdditionalResource.fromMap(
map['GBHours'],
)
: null,
imageTransformations: map['imageTransformations'] != null
? AdditionalResource.fromMap(
map['imageTransformations'],
)
: null,
credits: map['credits'] != null
? AdditionalResource.fromMap(
map['credits'],
)
: null,
);
}