RemoteFunctionOptions.fromJson constructor
RemoteFunctionOptions.fromJson(
- Map json_
Implementation
RemoteFunctionOptions.fromJson(core.Map json_)
: this(
connection: json_.containsKey('connection')
? json_['connection'] as core.String
: null,
endpoint: json_.containsKey('endpoint')
? json_['endpoint'] as core.String
: null,
maxBatchingRows: json_.containsKey('maxBatchingRows')
? json_['maxBatchingRows'] as core.String
: null,
userDefinedContext: json_.containsKey('userDefinedContext')
? (json_['userDefinedContext']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
);